package com.baixun.gasentity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;


/**
 *
 * @TableName sys_authority
 */
@TableName(value ="sys_authority")
@Data
public class SysAuthority implements Serializable {
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    /**
     * 具备权限
     */
    @ApiModelProperty(value = "具备权限")
    private String authority;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
